package com.zhentao.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * @TableName student
 */
@TableName(value ="student")
@Data
public class Student implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     *
     */
    private String studentNumber;

    /**
     *
     */
    private String name;

    /**
     *
     */
    private String idCard;

    /**
     *
     */
    private String studentStatus;

    /**
     *
     */
    private String sex;

    /**
     *
     */
    private String marketingDepartment;

    /**
     *
     */
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GTM+8")
//    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
//    private Date enrollmentTime;

    /**
     *
     */
    private String level;

    /**
     *
     */
    private String studentPhone;

    /**
     *
     */
    private String parentPhone;

    /**
     *
     */
    private String nativePlace;

    /**
     *
     */
    private Double point;

    /**
     *
     */
    private Integer classId;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
